home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / reiser4 / journal.h < prev    next >
C/C++ Source or Header  |  2006-01-09  |  1KB  |  36 lines

  1. /* Copyright (C) 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by
  2.    reiser4progs/COPYING.
  3.    
  4.    journal.h -- reiser4 filesystem journal functions. */
  5.  
  6. #ifndef REISER4_JOURNAL_H
  7. #define REISER4_JOURNAL_H
  8.  
  9. #ifndef ENABLE_MINIMAL
  10. #include <reiser4/types.h>
  11.  
  12. extern void reiser4_journal_close(reiser4_journal_t *journal);
  13. extern void reiser4_journal_mkdirty(reiser4_journal_t *journal);
  14. extern void reiser4_journal_mkclean(reiser4_journal_t *journal);
  15. extern errno_t reiser4_journal_valid(reiser4_journal_t *journal);
  16. extern bool_t reiser4_journal_isdirty(reiser4_journal_t *journal);
  17.  
  18. extern errno_t reiser4_journal_mark(reiser4_journal_t *journal);
  19. extern errno_t reiser4_journal_sync(reiser4_journal_t *journal);
  20. extern errno_t reiser4_journal_replay(reiser4_journal_t *journal);
  21.  
  22. extern errno_t reiser4_journal_layout(reiser4_journal_t *journal, 
  23.                       region_func_t region_func,
  24.                       void *data);
  25.  
  26. extern reiser4_journal_t *reiser4_journal_open(reiser4_fs_t *fs,
  27.                            aal_device_t *device);
  28.  
  29. extern reiser4_journal_t *reiser4_journal_create(reiser4_fs_t *fs,
  30.                          aal_device_t *device);
  31.  
  32. #endif
  33.  
  34. #endif
  35.  
  36.